package bartek.klasy;

public class Stol {
	String 
		material,
		stan = "nowy";
	Blat blat;
	Noga
		noga1,
		noga2,
		noga3,
		noga4;
	
	Stol(String material, String ksztaltBlatu, String ksztaltNog){
		this.material = material;
		blat = new Blat(material, ksztaltBlatu);
		noga1 = new Noga(material, ksztaltNog);
		noga2 = new Noga(material, ksztaltNog);
		noga3 = new Noga(material, ksztaltNog);
		noga4 = new Noga(material, ksztaltNog);
	}
}
